package com.project.light.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Table(name = "B_Role")
public class Role implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @Column(name = "id")
    private Integer id;

    /**
     * 角色ID
     */
    @Column(name = "roldId")
    private String roldId;

    /**
     * 角色名称
     */
    @Column(name = "roleName")
    private String roleName;
}
